package name.gauravmadan.mdg.pim;

import java.io.Serializable;
import java.util.List;

public class Class implements Serializable{

	private static final long serialVersionUID = -7256056630238406787L;
	private Integer id;
	private String className;
	private String classDesc;
	private List<Attribute> attributeList;
	private List<Association> associationList;
	
	private Boolean isAuditable;
	private Boolean isVersionable;
	private Boolean isSoftDeletable;
	private String tableName;
	private Integer parentComponentId;
	public Class(){
		super();
	}
	public Class(List<Attribute> attributeList, String classDesc,
			String className, Integer id,
			Boolean isAuditable, Boolean isSoftDeletable, Boolean isVersionable, String tableName) {
		super();
		this.attributeList = attributeList;
		this.classDesc = classDesc;
		this.className = className;
		this.id = id;
		this.isAuditable = isAuditable;
		this.isSoftDeletable = isSoftDeletable;
		this.isVersionable = isVersionable;
		this.tableName = tableName;
	}
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	
	public String getClassName() {
		return className;
	}
	public void setClassName(String className) {
		this.className = className;
	}
	public String getClassDesc() {
		return classDesc;
	}
	public void setClassDesc(String classDesc) {
		this.classDesc = classDesc;
	}
	public List<Attribute> getAttributeList() {
		return attributeList;
	}
	public void setAttributeList(List<Attribute> attributeList) {
		this.attributeList = attributeList;
	}
	public Boolean getIsAuditable() {
		return isAuditable;
	}
	public void setIsAuditable(Boolean isAuditable) {
		this.isAuditable = isAuditable;
	}
	public Boolean getIsVersionable() {
		return isVersionable;
	}
	public void setIsVersionable(Boolean isVersionable) {
		this.isVersionable = isVersionable;
	}
	public Boolean getIsSoftDeletable() {
		return isSoftDeletable;
	}
	public void setIsSoftDeletable(Boolean isSoftDeletable) {
		this.isSoftDeletable = isSoftDeletable;
	}

	public String getTableName() {
		return tableName;
	}

	public void setTableName(String tableName) {
		this.tableName = tableName;
	}
	public Integer getParentComponentId() {
		return parentComponentId;
	}
	public void setParentComponentId(Integer parentComponentId) {
		this.parentComponentId = parentComponentId;
	}
	public List<Association> getAssociationList() {
		return associationList;
	}
	public void setAssociationList(List<Association> associationList) {
		this.associationList = associationList;
	}

}
